/*
 * Copyright 2020-2030 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
*/

package com.gitee.minimalismstyle.fresh.flowable.api.feign.model

import java.io.Serializable

/**
 * JobResponse
 * @author maoxiaodong
 */
class JobResponse : Serializable {

    /**
     *
     * example: 8
     */
    var id: String? = null

    /**
     *
     * example: http://localhost:8182/management/jobs/8
     */
    var url: String? = null

    /**
     *
     * example: 50
     */
    var correlationId: String? = null

    /**
     *
     * example: 5
     */
    var processInstanceId: String? = null

    /**
     *
     * example: http://localhost:8182/runtime/process-instances/5
     */
    var processInstanceUrl: String? = null

    /**
     *
     * example: timerProcess:1:4
     */
    var processDefinitionId: String? = null

    /**
     *
     * example: http://localhost:8182/repository/process-definitions/timerProcess%3A1%3A4
     */
    var processDefinitionUrl: String? = null

    /**
     *
     * example: 7
     */
    var executionId: String? = null

    /**
     *
     * example: http://localhost:8182/runtime/executions/7
     */
    var executionUrl: String? = null

    /**
     *
     * example: timer
     */
    var elementId: String? = null

    /**
     *
     * example: Timer task
     */
    var elementName: String? = null

    /**
     *
     * example: 3
     */
    var retries: Int? = null

    /**
     *
     * example: null
     */
    var exceptionMessage: String? = null

    /**
     *
     * example: 2013-06-04T22:05:05.474+0000
     */
    var dueDate: String? = null

    /**
     *
     * example: 2013-06-03T22:05:05.474+0000
     */
    var createTime: String? = null

    /**
     *
     * example: null
     */
    var tenantId: String? = null
}